<?php
class Users extends AppModel {
    var $name = __CLASS__;
    var $useTable = 'users';
    var $useDbConfig = 'default';
	function set_db( $db_time )
    {
    	$db =& ConnectionManager::getDataSource($this->useDbConfig);
        $db->config['database'] .= $db_time;
        $db->reconnect($db->config); 
    }
}